package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户信息对象 car_customer
 * 
 * @author ruoyi
 * @date 2024-09-16
 */
public class CarCustomer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 认证类型 */
    @Excel(name = "认证类型")
    private String authType;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String tel;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String identityCard;

    /** 身份证正面url */
    @Excel(name = "身份证正面url")
    private String cardFrontImg;

    /** 身份证反面url */
    @Excel(name = "身份证反面url")
    private String cardBackImg;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String companyName;

    /** 统一社会信用编码 */
    @Excel(name = "统一社会信用编码")
    private String businessLicense;

    /** 法人姓名 */
    @Excel(name = "法人姓名")
    private String legalPerson;

    /** 公司联系方式 */
    @Excel(name = "公司联系方式")
    private String companyTel;

    /** 公司营业执照 */
    @Excel(name = "公司营业执照")
    private String licenseImg;

    /** 认证结果 */
    @Excel(name = "认证结果")
    private String authResult;

    /** 认证状态 */
    @Excel(name = "认证状态")
    private String authState;

    /** 审核人ID */
    @Excel(name = "审核人ID")
    private Long auditPersonId;

    /** 审核人姓名 */
    @Excel(name = "审核人姓名")
    private String auditPerson;

    /** 微信ID */
    @Excel(name = "微信ID")
    private String wxId;

    /** 头像URL */
    @Excel(name = "头像URL")
    private String headImgUrl;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String wxName;

    /** 开户行 */
    @Excel(name = "开户行")
    private String bankName;

    /** 户名 */
    @Excel(name = "户名")
    private String bankAccount;

    /** 账号 */
    @Excel(name = "账号")
    private String bankAccountNo;

    /** 最近活动时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最近活动时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastLoginTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAuthType(String authType) 
    {
        this.authType = authType;
    }

    public String getAuthType() 
    {
        return authType;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setIdentityCard(String identityCard) 
    {
        this.identityCard = identityCard;
    }

    public String getIdentityCard() 
    {
        return identityCard;
    }
    public void setCardFrontImg(String cardFrontImg) 
    {
        this.cardFrontImg = cardFrontImg;
    }

    public String getCardFrontImg() 
    {
        return cardFrontImg;
    }
    public void setCardBackImg(String cardBackImg) 
    {
        this.cardBackImg = cardBackImg;
    }

    public String getCardBackImg() 
    {
        return cardBackImg;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setBusinessLicense(String businessLicense) 
    {
        this.businessLicense = businessLicense;
    }

    public String getBusinessLicense() 
    {
        return businessLicense;
    }
    public void setLegalPerson(String legalPerson) 
    {
        this.legalPerson = legalPerson;
    }

    public String getLegalPerson() 
    {
        return legalPerson;
    }
    public void setCompanyTel(String companyTel) 
    {
        this.companyTel = companyTel;
    }

    public String getCompanyTel() 
    {
        return companyTel;
    }
    public void setLicenseImg(String licenseImg) 
    {
        this.licenseImg = licenseImg;
    }

    public String getLicenseImg() 
    {
        return licenseImg;
    }
    public void setAuthResult(String authResult) 
    {
        this.authResult = authResult;
    }

    public String getAuthResult() 
    {
        return authResult;
    }
    public void setAuthState(String authState) 
    {
        this.authState = authState;
    }

    public String getAuthState() 
    {
        return authState;
    }
    public void setAuditPersonId(Long auditPersonId) 
    {
        this.auditPersonId = auditPersonId;
    }

    public Long getAuditPersonId() 
    {
        return auditPersonId;
    }
    public void setAuditPerson(String auditPerson) 
    {
        this.auditPerson = auditPerson;
    }

    public String getAuditPerson() 
    {
        return auditPerson;
    }
    public void setWxId(String wxId) 
    {
        this.wxId = wxId;
    }

    public String getWxId() 
    {
        return wxId;
    }
    public void setHeadImgUrl(String headImgUrl) 
    {
        this.headImgUrl = headImgUrl;
    }

    public String getHeadImgUrl() 
    {
        return headImgUrl;
    }
    public void setWxName(String wxName) 
    {
        this.wxName = wxName;
    }

    public String getWxName() 
    {
        return wxName;
    }
    public void setBankName(String bankName) 
    {
        this.bankName = bankName;
    }

    public String getBankName() 
    {
        return bankName;
    }
    public void setBankAccount(String bankAccount) 
    {
        this.bankAccount = bankAccount;
    }

    public String getBankAccount() 
    {
        return bankAccount;
    }
    public void setBankAccountNo(String bankAccountNo) 
    {
        this.bankAccountNo = bankAccountNo;
    }

    public String getBankAccountNo() 
    {
        return bankAccountNo;
    }
    public void setLastLoginTime(Date lastLoginTime) 
    {
        this.lastLoginTime = lastLoginTime;
    }

    public Date getLastLoginTime() 
    {
        return lastLoginTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("authType", getAuthType())
            .append("tel", getTel())
            .append("name", getName())
            .append("sex", getSex())
            .append("identityCard", getIdentityCard())
            .append("cardFrontImg", getCardFrontImg())
            .append("cardBackImg", getCardBackImg())
            .append("companyName", getCompanyName())
            .append("businessLicense", getBusinessLicense())
            .append("legalPerson", getLegalPerson())
            .append("companyTel", getCompanyTel())
            .append("licenseImg", getLicenseImg())
            .append("authResult", getAuthResult())
            .append("authState", getAuthState())
            .append("auditPersonId", getAuditPersonId())
            .append("auditPerson", getAuditPerson())
            .append("wxId", getWxId())
            .append("headImgUrl", getHeadImgUrl())
            .append("wxName", getWxName())
            .append("bankName", getBankName())
            .append("bankAccount", getBankAccount())
            .append("bankAccountNo", getBankAccountNo())
            .append("lastLoginTime", getLastLoginTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
